package com.cans.service.pms.impl;

import com.cans.dao.api.IBaseDao;
import com.cans.dao.pms.api.ISysMenuDao;
import com.cans.model.pms.SysMenu;
import com.cans.service.impl.BaseServiceImpl;
import com.cans.service.pms.api.ISysMenuService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * description:
 *
 * @author cans
 * @date 2018/6/27
 */
@Service("sysMenuService")
@Transactional(rollbackFor = Exception.class)
public class SysMenuServiceImpl extends BaseServiceImpl<SysMenu,String> implements ISysMenuService {

    @Resource
    private ISysMenuDao menuDao;

    @Override
    public IBaseDao<SysMenu, String> getDaoImpl() {
        return menuDao;
    }
}
